checkArgumentInRange
Ensures that the argument int value is within the inclusive range.
Return
the validated int value
Parameters
a int value
the lower endpoint of the inclusive range
the upper endpoint of the inclusive range
the name of the argument to use if the check fails
Throws
if value
was not within the range
Ensures that the argument long value is within the inclusive range.
Return
the validated long value
Parameters
a long value
the lower endpoint of the inclusive range
the upper endpoint of the inclusive range
the name of the argument to use if the check fails
Throws
if value
was not within the range
Ensures that the argument float value is within the inclusive range.
Return
the validated float value
Parameters
a float value
the lower endpoint of the inclusive range
the upper endpoint of the inclusive range
the name of the argument to use if the check fails
Throws
if value
was not within the range
Ensures that the argument double value is within the inclusive range.
Return
the validated double value
Parameters
a double value
the lower endpoint of the inclusive range
the upper endpoint of the inclusive range
the name of the argument to use if the check fails
Throws
if value
was not within the range